/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.kota105.ui.generic.properties;

/**
 *
 * @author pikpun
 */
public class Property {

    private String attributeName;
    private String value;
    public static String GENERIC_ANDROID_XML = "android:";
    private boolean use;

    public Property(String attributeName) {
        this.attributeName = attributeName;
    }

    public Property() {
        this.use = false;
    }

    public String getAttributeName() {
        return attributeName;
    }

    public void setAttributeName(String attributeName) {
        this.attributeName = attributeName;
    }

    public String getXmlName() {
        System.out.println(attributeName);
//        if(attributeName.indexOf(GENERIC_ANDROID_XML)0){
//            System.out.println("masuk dieu");
            return attributeName;
//        }
//        return GENERIC_ANDROID_XML + attributeName;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
        this.use = true;
    }

    public boolean isUse() {
        return use;
    }

    public void setUse(boolean use) {
        this.use = use;
    }
}
